home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2391 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: hearst.acc.Virginia.EDU!adastra!mbs
  2. Newsgroups: comp.sys.amiga.programmer
  3. From: mbs@adastra.cvl.va.us (Michael B. Smith)
  4. Subject: Re: YASL (was: AsynchIO (was: fastest file read method ??))
  5. References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <w+RYXMD4FC8aRz1@_crisi.blackbox.shnet.org> <4dsalp$t68@news1.halcyon.com> <4du0ju$84b@news.sdd.hp.com> <4e2e76$9k3@toad.stack.urc.tue.nl> <4e3j8v$jd0@news.sdd.hp.com> <4e7si4$ore@tuegate.tue.nl> <4e8asc$rht@news.sdd.hp.com> <1349.6599T1259T2701@amiga.pp.se> <4egkuh$j1q@news.sdd.hp.com> <19960129.40EA00.9A87@am174.du.pipex.com> <4eifhk$j16@serpens.rhein.de> <mbs.47s2@adastra.cvl.va.us> <4ejvj5$rop@serpens.rhein.de>
  6. X-NewsReader: GRn 3.0 January 12, 1996
  7. MIME-Version: 1.0
  8. Content-Type: text/plain; charset=iso-8859-1
  9. Content-Transfer-Encoding: 8bit
  10. Message-ID: <mbs.47uz@adastra.cvl.va.us>
  11. Date: Tue, 30 Jan 96 18:57:15 EDT
  12. Organization: Only if you insist...
  13.  
  14. In article <4ejvj5$rop@serpens.rhein.de> mlelstv@serpens.rhein.de (Michael van Elst) writes:
  15. > mbs@adastra.cvl.va.us (Michael B. Smith) writes:
  16. >
  17. > >Actually, SeekAsync() is still badly buggy, in every version I've
  18. > >yet seen.
  19. >
  20. > Well, it works for me. I'm not sure wether it handles all error paths
  21. > correctly though. Why do you think that it is broken ?
  22.  
  23. (Preface: the last version I have of Holmgren's stuff is v4.)
  24.  
  25. The original _works_ but does so poorly. It spills the buffers
  26. almost every time, so where you have large buffer sizes, and
  27. small Seeks, you end up re-reading large amounts of data many
  28. times. (A specific example: seeking forward or backward, message
  29. by message, in a mail folder.) I consider this badly buggy
  30. behavior.
  31.  
  32. Holmgren's stuff claims to have fixed a bug or two (specifically
  33. in SeekAsync() including this buffer-spill issue), but I find it
  34. plain broken. I've taken some of his other patches and moved them
  35. into my source.
  36. --
  37.   //   Michael B. Smith
  38. \X/    mbs@adastra.cvl.va.us
  39.